.er {
    position: relative;
    border: 1px solid #ccc;
    outline: none;
    overflow: auto;
}

.er canvas {
    position: absolute;
}

.er-table {
    position: absolute;
    border: 1px solid #ccc;
    height: 200px;
    width: 200px;
    background: #fff;
    user-select: none;
}

.er-table-body {
    height: calc(100% - 30px);
    overflow: auto;
}

.er-table-header {
    background: #1890ff;
    cursor: move;
    color: #fff;
    padding: 4px 16px;
}

.er-table.er-table-selected .er-table-header {
    opacity: .8;
}

.er-table-field {
    border-top: 1px solid #ccc;
    padding: 4px 16px;
    display: flex;
}
.er-icon{
    width: 10%;
    margin-right: 2px;
}
.er-contextmenu {
    position: fixed;
    width: 200px;
    margin: 0;
    border-radius: 0px;
    background: var(--el-bg-color-overlay);
    border: 1px solid var(--el-border-color-light);
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    z-index: 3000;
    list-style-type: none;
    padding: 10px 0;
    display: none;
}


.er-contextmenu li {
    display: flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
    line-height: 30px;
    padding: 0 17px;
    color: #606266;
}


.er-contextmenu li:hover {
    background-color: #ecf5ff;
    color: #66b1ff;
}

.er-contextmenu li.disabled {
    cursor: not-allowed;
    color: #bbb;
    background: transparent;
}